import zhCN from './zh-CN'
import enUS from './en-US'

const localeList = {
  'zh-CN': zhCN,
  'en-US': enUS,
}

const locale = (lang: langType) => localeList[lang]

export default locale

type langType = 'zh-CN' | 'en-US'
